import track from "../../effect/track.js";
import { TrackOpTypes } from "../../utils.js";

/**
 * 拦截 遍历 操作
 * @param {*} target 
 * @returns 
 */
export default function (target) {
  track(target, TrackOpTypes.ITERATE);
  return Reflect.ownKeys(target);
}
